package com.phone.client.feign;

import com.seventh.common.pojo.R;
import io.swagger.annotations.ApiModelProperty;
import io.swagger.annotations.ApiOperation;
import io.swagger.annotations.ApiParam;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;

@FeignClient(value = "clms-lease")
@RequestMapping("lease/carShop")
public interface ShopFeign {
    @ApiOperation(value = "查询汽车门店信息")
    @GetMapping("selShops/{areaId}")
    public R selShops(@PathVariable Integer areaId);
   /* @GetMapping("allCar/{id}")
    @ApiModelProperty("查找车辆")
    public R selAllCar(@PathVariable Integer id);*/
    @ApiOperation(value = "查询汽车类型信息")
    @GetMapping("selectAllCarType")
    public R selectAllCarType();
}

